package com.example.demo.client.vm.sysbasequery;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhengmf
 * @Date 2019/1/4  16:59
 */
@ApiModel("可添加的文章列表")
public class AddibleArticleVm implements Serializable {
    private static final long serialVersionUID = 3896490066047575306L;
    @ApiModelProperty("文章ID")
    private Long articleId;
    @ApiModelProperty("文章标题")
    private String articleTitle;
    @ApiModelProperty("文章关键字")
    private String articleKeyword;
    @ApiModelProperty("创建人")
    private String createUser;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @ApiModelProperty("修改人")
    private String modifyUser;
    @ApiModelProperty("修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date modifyTime;

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleKeyword() {
        return articleKeyword;
    }

    public void setArticleKeyword(String articleKeyword) {
        this.articleKeyword = articleKeyword;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "AddibleArticleVm{" +
            "articleId=" + articleId +
            ", articleTitle='" + articleTitle + '\'' +
            ", articleKeyword='" + articleKeyword + '\'' +
            ", createUser='" + createUser + '\'' +
            ", createTime=" + createTime +
            ", modifyUser='" + modifyUser + '\'' +
            ", modifyTime=" + modifyTime +
            '}';
    }
}
